|
|
|
|
ForeColor Property, ItemClass Class |
Defines the foreground color of the item's cells.
Syntax ItemClass Class (Softelvdm.SftTreeNET)
VB |
Public Property ForeColor As Color |
C# |
public Color ForeColor { get; set; } |
C++ |
public: property Color ForeColor { |
Property Value
The foreground color or Color.Empty.
The default value is Color.Empty.
Comments
The ForeColor property defines the foreground color of the item's cells.
If the foreground color is set to Color.Empty, the following properties are used instead: ColumnClass.ForeColor, ForeColorOdd or ForeColor for items, Headers.ForeColor for column headers, Footers.ForeColor for column footers. Individual cells can define their foreground color using the CellBaseClass.ForeColor property.
If an item is considered selected, the ForeColorSelected property is used to define the foreground color instead.